import type { RouteRecordRaw } from 'vue-router';
import { BasicLayout } from '#/layouts';
import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'mdi:factory',
      title: $t('page.well.title'),
      hideChildrenInMenu: true,
      order:2,
      authority: ['super','tech'],
    },
    name: 'Well',
    path: '/well',
    redirect: '/well/index',
    children: [
      {
        name: 'WellIndex',
        path: '/well/index',
        component: () => import('#/views/manage/well/index.vue'),
        meta: {
          icon: 'mdi:factory',
          title: $t('page.well.title'),
        },
      },
    ],
  },
];

export default routes;
